package com.unknowpupil.design.cor;

/**
 * @Description: <p>
 *  责任链模式
 *   封装请假的基本信息
 * </p>
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/4/28 11:54
 * @Classname: LeaveRequest
 * @Version: 1.0
 */
public class LeaveRequest {

    /**
     * 请假人
     */
    private String empName;
    /**
     * 请假天数
     */
    private int leaveDays;
    /**
     * 请假原因
     */
    private String reason;

    public LeaveRequest(String empName, int leaveDays, String reason) {
        this.empName = empName;
        this.leaveDays = leaveDays;
        this.reason = reason;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public int getLeaveDays() {
        return leaveDays;
    }

    public void setLeaveDays(int leaveDays) {
        this.leaveDays = leaveDays;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
